Matthias Clasen [Sat, 13 May 2006 02:56:04 +0000 (02:56 +0000)]
Handle tab_label being NULL better. (#341455, William Jon McCann, patch by
2006-05-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Handle tab_label being NULL better.
(#341455, William Jon McCann, patch by Carlos Garnacho Parro)
Matthias Clasen [Fri, 12 May 2006 16:14:48 +0000 (16:14 +0000)]
Reinstate the ruler metrics strings, since they are used by glade, pointed
2006-05-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkruler.c: Reinstate the ruler metrics strings, since
they are used by glade, pointed out by Damon Chaplin.
Alexander Larsson [Fri, 12 May 2006 16:06:53 +0000 (16:06 +0000)]
Better handling of the window group on unsetting transient-for, since the
2006-05-12 Alexander Larsson <alexl@redhat.com>
* gtk/gtkwindow.c:
Better handling of the window group on unsetting transient-for, since
the transient parent might have changed group.
* gtk/gtkmenu.c:
Combine the handling of transient for the attach-widget and the
window group handling by setting transient-to on popup/popdown only.
See bug #340401
* gtk/gtkprintunixdialog.c:
Remove part of old fix no longer needed.
Alexander Larsson [Fri, 12 May 2006 13:24:12 +0000 (13:24 +0000)]
Update g_object_notify to new property name.
2006-05-12 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintoperation.c (gtk_print_operation_set_n_pages):
Update g_object_notify to new property name.
Alexander Larsson [Fri, 12 May 2006 09:47:58 +0000 (09:47 +0000)]
Fix build errors.
2006-05-12 Alexander Larsson <alexl@redhat.com>
* gtk/gtkrecentmanager.c:
Fix build errors.
* gtk/gtk.symbols:
* demos/gtk-demo/printing.c:
* gtk/gtkprintoperation-win32.c:
* gtk/gtkprintoperation.[ch]:
* gtk/gtkprintsettings.[ch]:
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c:
* tests/print-editor.c:
* tests/testnouiprint.c:
* tests/testprint.c:
* tests/testprintfileoperation.c:
Rename functions from nr_of_pages to n_pages, and num_copies to
n_copies to match other gtk+ names.
* gtk/gtkmenu.c: (gtk_menu_popdown):
Only re-set window group on popdown if we set it on popup (i.e.
if there is a parent menu shell).
Fixed part of bug #340401
* gtk/gtkwindow.c:
Add (contruct) property "transient-for" to GtkWindow. This
is needed for the fix to bug #340401.
* gtk/gtkprintunixdialog.c:
Use the transient-for property on construction and populate the dialog
with widgets after that. This fixes bug #340401.
More n_pages renames.
Emmanuele Bassi [Fri, 12 May 2006 08:39:17 +0000 (08:39 +0000)]
Update the error enum and the gtk_recent_manager_add and
2006-05-11 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/tmpl/gtkrecentmanager.sgml: Update the error enum and the
gtk_recent_manager_add and gtk_recent_manager_add_full parameters.
* gtk/migrating-GtkRecentChooser.sgml: Mention
gtk_recent_manager_get_default() and update the code examples.
Emmanuele Bassi [Fri, 12 May 2006 08:37:07 +0000 (08:37 +0000)]
Remove the error parameter to the gtk_recent_manager_add() and
2006-05-11 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentmanager.h: Remove the error parameter to the
gtk_recent_manager_add() and gtk_recent_manager_add_full()
functions; remove the unneeded error codes from the error
enumeration. (#336774).
* gtk/gtkrecentmanager.c: Make gtk_recent_manager_add() and
gtk_recent_manager_add_full() complain loudly about wrong or
missing meta-data, instead of using a GError. (#336774)
Matthias Clasen [Thu, 11 May 2006 19:02:05 +0000 (19:02 +0000)]
Add it here.
2006-05-11 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/Makefile.am (demos): Add it here.
* demos/gtk-demo/printing.c (do_printing): Add a GtkPrintOperation demo.
Carlos Garcia Campos [Thu, 11 May 2006 17:54:20 +0000 (17:54 +0000)]
use I_() instead of _() when creating response-requested signal. Fixes bug
2006-05-11 Carlos Garcia Campos <carlosgc@gnome.org>
* gtk/gtkfilechooserembed.c: use I_() instead of _() when creating
response-requested signal. Fixes bug #341416
Ignacio Casal Quinteiro [Thu, 11 May 2006 17:45:39 +0000 (17:45 +0000)]
*** empty log message ***
Matthias Clasen [Thu, 11 May 2006 17:15:40 +0000 (17:15 +0000)]
Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl.
2006-05-11 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkkeysyms.h: Regenerated from Xorg 7.1 keysyms.h, using
gdkkeysyms-update.pl.
* gdk/gdkkeysyms-update.pl: Script to sync gdkkeysyms.h
with Xorg. (#321896, Simos Xenitellis)
* gdk/Makefile.am (EXTRA_DIST): Add gdkkeysyms-update.pl
Matthias Clasen [Thu, 11 May 2006 17:07:15 +0000 (17:07 +0000)]
Consistently use lowercase in hex numbers.
2006-05-11 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkkeysyms.h: Consistently use lowercase in hex numbers.
Ankitkumar Rameshchandra Patel [Thu, 11 May 2006 06:57:49 +0000 (06:57 +0000)]
Updated Gujarati Translations
Ankitkumar Rameshchandra Patel [Thu, 11 May 2006 06:51:53 +0000 (06:51 +0000)]
Updated Translation
Carlos Garnacho [Wed, 10 May 2006 15:58:48 +0000 (15:58 +0000)]
check that tab_label is not NULL before checking that it's notebook's
2006-05-10 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtknotebook.c: check that tab_label is not NULL before checking
that it's notebook's child. Closes #341247.
Tim Janik [Wed, 10 May 2006 14:02:20 +0000 (14:02 +0000)]
applied unified patch for configurable scroll arrow sizes from bug #333632
Wed May 10 15:57:53 2006 Tim Janik <timj@imendio.com>
* applied unified patch for configurable scroll arrow sizes from
bug #333632 and bug #325282.
* gtk/gtkwidget.c (gtk_widget_class_init): added ::scroll-arrow-hlength
and ::scroll-arrow-vlength style properties. fixed upper limit for
::separator-width and ::separator-height to be MAXINT.
* gtk/gtkmenu.c: use GtkWidget::scroll-arrow-vlength to determine the
scroll arrow size, instead of using a hard coded constant.
* gtk/gtknotebook.c: use GtkWidget::scroll-arrow-vlength and
GtkWidget::scroll-arrow-hlength to determine scroll arrow sizes.
added GtkNotebook::arrow-spacing style property to configure the
spacing between scroll arrows.
Francisco Javier F. Serrador [Wed, 10 May 2006 13:37:29 +0000 (13:37 +0000)]
Updated Spanish translation.
2006-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Matthias Clasen [Wed, 10 May 2006 12:21:01 +0000 (12:21 +0000)]
Don't include langinfo.h unconditionally. (#341217)
2006-05-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpagesetupunixdialog.c: Don't include langinfo.h
unconditionally. (#341217)
Ankitkumar Rameshchandra Patel [Wed, 10 May 2006 06:19:49 +0000 (06:19 +0000)]
Updated Translation
John (J5) Palmieri [Wed, 10 May 2006 00:42:23 +0000 (00:42 +0000)]
make the _CUPS_MAP_ATTR_STR macro not dup the string so we don't leak
2006-05-10 John (J5) Palmieri <johnp@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c:
make the _CUPS_MAP_ATTR_STR macro not dup the string so we don't
leak
Francisco Javier F. Serrador [Tue, 9 May 2006 23:39:28 +0000 (23:39 +0000)]
Updated Spanish translation.
2006-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Tor Lillqvist [Tue, 9 May 2006 15:54:22 +0000 (15:54 +0000)]
Look at both GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
2006-05-09 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both
GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
Ankitkumar Rameshchandra Patel [Tue, 9 May 2006 06:21:15 +0000 (06:21 +0000)]
Updated Gujarati Translations
Ankitkumar Rameshchandra Patel [Tue, 9 May 2006 06:14:49 +0000 (06:14 +0000)]
Updated Translation
Matthias Clasen [Tue, 9 May 2006 04:44:53 +0000 (04:44 +0000)]
Add a :cursor-position property. (#334412, Yevgen Muntyan) `
2006-05-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add a :cursor-position
property. (#334412, Yevgen Muntyan)
`
Matthias Clasen [Tue, 9 May 2006 04:36:43 +0000 (04:36 +0000)]
Add an image property
Carlos Garnacho [Tue, 9 May 2006 02:36:08 +0000 (02:36 +0000)]
create an independent GdkWindow to behave nicely during reordering with
2006-05-09 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtknotebook.c: create an independent GdkWindow to behave nicely
during reordering with tab_labels with their own window, also use
gtk_drag_set_icon_widget() for the DnD icon to avoid drawing garbage
from offscreen regions. Closes bug #335707.
(gtk_notebook_tab_space), (gtk_notebook_calculate_shown_tabs),
(gtk_notebook_calculate_tabs_allocation): new functions,
gtk_notebook_pages_allocate() functionality has been splitted into
these.
Matthias Clasen [Tue, 9 May 2006 02:25:46 +0000 (02:25 +0000)]
Fix some typos in messages. (#341091, Tino Meinen)
2006-05-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_add_shortcut_folder):
* gtk/gtktextbufferserialize.c (parse_attr_element): Fix some typos in
messages. (#341091, Tino Meinen)
Wouter Bolsterlee [Mon, 8 May 2006 20:51:40 +0000 (20:51 +0000)]
Dutch translation updated by Tino Meinen.
2006-05-08 Wouter Bolsterlee <uws+gnome@xs4all.nl>
* nl.po: Dutch translation updated by Tino Meinen.
Matthias Clasen [Mon, 8 May 2006 18:57:06 +0000 (18:57 +0000)]
Some cleanups.
2006-05-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusicon.c: Some cleanups.
* gtk/gtkstatusicon.c (gtk_status_icon_get_property): Silently return
NULL if the storage type of the image does not match. (#340516, Christian
Persch)
Matthias Clasen [Mon, 8 May 2006 18:25:35 +0000 (18:25 +0000)]
Add bugref
Matthias Clasen [Mon, 8 May 2006 18:10:23 +0000 (18:10 +0000)]
Elide (_x) in the middle of the string, too. (#323956, Abel Cheung)
2006-05-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Elide (_x) in the middle
of the string, too. (#323956, Abel Cheung)
Matthias Clasen [Mon, 8 May 2006 16:21:02 +0000 (16:21 +0000)]
Fix tooltips.
2006-05-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): Fix tooltips.
Matthias Clasen [Mon, 8 May 2006 15:51:49 +0000 (15:51 +0000)]
require pango 1.13
Matthias Clasen [Mon, 8 May 2006 14:50:33 +0000 (14:50 +0000)]
Fix doc typos.
2006-05-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c:
* gtk/gtkwindow.c:
* gtk/gtkrange.c: Fix doc typos.
Matthias Clasen [Mon, 8 May 2006 13:55:24 +0000 (13:55 +0000)]
Update the internationalization answer. (#340951, Kristof Versant)
2006-05-08 Matthias Clasen <mclasen@redhat.com>
* gtk/question_index.sgml (reference): Update the internationalization
answer. (#340951, Kristof Versant)
Ankitkumar Rameshchandra Patel [Mon, 8 May 2006 06:04:23 +0000 (06:04 +0000)]
Updated Gujarati Translations
Ankitkumar Rameshchandra Patel [Mon, 8 May 2006 06:00:58 +0000 (06:00 +0000)]
Updated Translation
Francisco Javier F. Serrador [Mon, 8 May 2006 00:08:39 +0000 (00:08 +0000)]
Corrected a duplicate word.
2006-05-08 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_class_init):
Corrected a duplicate word.
Francisco Javier F. Serrador [Mon, 8 May 2006 00:03:14 +0000 (00:03 +0000)]
Corrected a typo.
2006-05-08 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_manager_add_full): Corrected
a typo.
Matthias Clasen [Sun, 7 May 2006 19:21:16 +0000 (19:21 +0000)]
Chain up, to make bindings work. Noticed by Al Puzzuoli.
2006-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (gtk_range_key_press): Chain up, to
make bindings work. Noticed by Al Puzzuoli.
Matthias Clasen [Sun, 7 May 2006 14:11:16 +0000 (14:11 +0000)]
Reinstate abstract types
Matthias Clasen [Sun, 7 May 2006 13:51:46 +0000 (13:51 +0000)]
More abstract types
Matthias Clasen [Sun, 7 May 2006 13:48:35 +0000 (13:48 +0000)]
Make GtkScale abstract again
Matthias Clasen [Sun, 7 May 2006 03:28:22 +0000 (03:28 +0000)]
fix docs
Hendrik Richter [Sat, 6 May 2006 13:15:44 +0000 (13:15 +0000)]
Updated German translation.
2006-05-06 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
Francisco Javier F. Serrador [Fri, 5 May 2006 22:42:46 +0000 (22:42 +0000)]
Updated Spanish translation.
2006-05-06 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Francisco Javier F. Serrador [Fri, 5 May 2006 21:05:38 +0000 (21:05 +0000)]
Updated Spanish translation.
2006-05-05 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Christian Persch [Fri, 5 May 2006 20:22:27 +0000 (20:22 +0000)]
Always register the type with the type module, even if it had been
2006-05-05 Christian Persch <chpe@cvs.gnome.org>
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c: Always register
the type with the type module, even if it had been registered
before. Fixes bug #340676.
Matthias Clasen [Fri, 5 May 2006 19:49:13 +0000 (19:49 +0000)]
Small tweaks to the unix print dialog
Matthias Clasen [Fri, 5 May 2006 16:21:19 +0000 (16:21 +0000)]
2.9.0
Matthias Clasen [Fri, 5 May 2006 16:07:44 +0000 (16:07 +0000)]
2.9.0
Alexander Larsson [Fri, 5 May 2006 11:03:33 +0000 (11:03 +0000)]
Implement per-page paper sizes.
2006-05-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintoperation-unix.c:
Implement per-page paper sizes.
* gtk/gtkprintoperation.c:
Implement per-page paper sizes for pdf output.
Make gtk_print_operation_set_pdf_target() work again
* tests/Makefile.am:
* tests/testprint.c:
* tests/testprintfileoperation.[ch]:
Add more test code for printing support.
This tests per-page paper sizes & orientation and
deriving from GtkPrintOperation.
Ankitkumar Rameshchandra Patel [Fri, 5 May 2006 05:44:16 +0000 (05:44 +0000)]
Updated Translation
Michael David Emmel [Thu, 4 May 2006 23:00:10 +0000 (23:00 +0000)]
Removed DIKI_ALTGR
Michael Natterer [Thu, 4 May 2006 14:39:15 +0000 (14:39 +0000)]
remove gtk_printer_set_backend so it compiles again.
2006-05-04 Michael Natterer <mitch@imendio.com>
* gtk/gtk.symbols: remove gtk_printer_set_backend so it compiles
again.
Alexander Larsson [Thu, 4 May 2006 13:43:32 +0000 (13:43 +0000)]
Added new symbols
2006-05-04 Alexander Larsson <alexl@redhat.com>
* gtk/gtk.symbols:
Added new symbols
* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintunixdialog.c:
Destroy backends when finalizing dialogs.
Fix printer leak in selected_printer_changed.
* gtk/gtkprintbackend.[ch]:
Convert from interface to baseclass.
Move printer hashtable here so that the baseclass can handle
the slightly complicated ownership model.
Add gtk_print_backend_destroy which runs the dispose method,
causing the ref-cycles between the backend and its printers
to be broken.
Add gtk_print_backend_unref_at_idle().
* gtk/gtkprinter.[ch]:
GtkPrinter objects now ref their backend so that its always
availible, since its needed for the printer object to work.
This causes a reference-cycle that is broken using
gtk_print_backend_destroy.
Add gtk_printer_compare.
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.c:
Implement !show_dialog for unix.
Make sure the print data is fully spooled before returning
from a sync run_dialog.
* modules/printbackends/cups/gtkcupsutils.[ch]:
Add gtk_cups_request_ipp_add_strings
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/cups/gtkprintercups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c:
Convert backends to derive instead of implementing interface.
Move common code into baseclass.
CUPS:
Remove the printer polling in dispose, not finalize.
In the cups watch, remove the backend at idle instead of
immediately, since the unref can cause the module to be unloaded.
Limit the number of printer attributes requested
Get printer uri in initial printer listing so that we can use
the printer object immediately.
* tests/Makefile.am:
* tests/testnouiprint.c:
Add testcase for !show_dialog.
Matthias Clasen [Thu, 4 May 2006 13:36:30 +0000 (13:36 +0000)]
Make symbol list mstch reality.
2006-05-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkfilesystem.c:
* gtk/gtkfilesystemunix.c:
* gtk/gtkprintbackend.h:
* gtk/gtkrecentchooserdefault.c:
* gtk/gtkrecentchooserdefault.h:
* gtk/paper_names_offsets.c: Make symbol list mstch reality.
* gtk/Makefile.am: Fix a typo.
* gdk/x11/Makefile.am (EXTRA_DIST): Add gdksettings.c
Murray Cumming [Thu, 4 May 2006 12:17:12 +0000 (12:17 +0000)]
Changed the language of the signals documentation slightly. Bug #340205.
2006-05-04 Murray Cumming <murrayc@murrayc.com>
* gtk/gtktreemodel.c: (gtk_tree_model_base_init): Changed the
language of the signals documentation slightly. Bug #340205.
Ankitkumar Rameshchandra Patel [Thu, 4 May 2006 04:27:10 +0000 (04:27 +0000)]
Updated Translation
Federico Mena Quintero [Wed, 3 May 2006 22:30:52 +0000 (22:30 +0000)]
Merged the federico-filename-entry branch, to fix bug #136541. Combined
2006-05-03 Federico Mena Quintero <federico@novell.com>
Merged the federico-filename-entry branch, to fix bug #136541.
Combined ChangeLogs:
2006-04-17 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
Oops, we *do* need to check that we are in OPEN mode before
selecting the first row in the file list. See
https://bugzilla.novell.com/show_bug.cgi?id=166906
(gtk_file_chooser_default_get_paths): If we are in the case for
the file list, and the list has no selected rows, jump to the case
for the filename entry. This is so that
1. The user types a filename in the SAVE filename entry
("foo.txt").
2. He then double-clicks on a folder ("bar") in the file
list.
will yield the expected "bar/foo.txt" selection.
2006-03-29 Federico Mena Quintero <federico@novell.com>
* gtk/gtkpathbar.c (gtk_path_bar_init): Reduce the inter-button
spacing to 0.
* gtk/gtkfilechooserdefault.c (browse_widgets_create): Make the
location label bold.
2006-03-29 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserdefault.c (location_mode_set): Just change the
location_mode field if we are in SAVE/CREATE_FOLDER modes.
(gtk_file_chooser_default_get_paths): Get the path based on the
currently focused widget, or the last-focused widget. This is
what we should have been doing in the beginning, but it worked out
fine because we didn't have the possibility of a filename entry in
OPEN mode.
(gtk_file_chooser_default_should_respond): Handle the case where
the last focused widget is the location_entry.
2006-03-28 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechoosersettings.[ch]: New files with a simple
framework for saving/loading settings from the file chooser in
$XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_unmap):
Save the current settings.
(settings_save): New helper function. We save the location_mode
and show_hidden flags.
(gtk_file_chooser_default_map): Load the settings.
(settings_load): New helper function.
* gtk/gtkfilechooserentry.c
(_gtk_file_chooser_entry_set_file_part): Oops, don't modify
in_change. Our handlers are what set the file_part, so they
*must* be run when we modify the text.
2006-03-27 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
Removed the save_file_name_entry. We'll make this be the same as
the location_entry widget.
(struct _GtkFileChooserDefault): Leave only location_button,
location_entry_box, location_label, location_entry. We'll use a
single toggle button for the location entry, which will appear
below the path bar.
(struct _GtkFileChooserDefault): Added a
processing_pending_selections flag.
* gtk/gtkfilechooserdefault.c (save_widgets_create): Destroy the
old location_entry if necessary, and hide the location toggle
widgets.
(update_chooser_entry): In multiple selection mode, just clear the
location_entry.
(check_save_entry): Allow running in OPEN or SELECT_FOLDER modes
if we are in LOCATION_MODE_FILENAME_ENTRY.
(gtk_file_chooser_default_should_respond): Switch to a folder if
the location_entry contains a folder name in OPEN and SAVE mode,
not just SAVE mode. If the entry doesn't contain a folder name,
but is otherwise well-formed, and we are in OPEN mode, return that
we should respond with that filename.
(gtk_file_chooser_default_initial_focus): Focus the location_entry
if appropriate.
(browse_widgets_create): Create the location_entry_box and the
location_label here.
(update_appearance): Call location_mode_set() when switching back
to OPEN/SELECT_FOLDER mode. Hide the location_button when
switching to SAVE/CREATE_FOLDER mode.
(pending_select_paths_process): Turn the
processing_pending_selections flag on and off around changes to
the current selection. Don't special-case OPEN mode anymore,
since the new flag will take care of things in
update_chooser_entry().
(update_chooser_entry): Don't do anything if
processing_pending_selections is TRUE. This keeps the entry from
being polluted when changing folders.
(location_popup_handler): In OPEN/SELECT_FOLDER modes, toggle
between the path bar and the entry. In SAVE/CREATE_FOLDER modes, simply focus the
location_entry.
(update_from_entry): Removed.
(location_entry_create): Removed.
(open_location_cb): Removed.
(file_list_build_popup_menu): Don't add an "Open _Location" menu item.
(location_entry_set_initial_text): Don't do anything if
current_folder is NULL.
* gtk/gtkfilechooserentry.c
(_gtk_file_chooser_entry_set_file_part): Turn in_change on and off
around the call to gtk_entry_set_text(). This makes completion
not happen when the caller has explicitly set a name.
2006-03-24 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
Added fields location_mode_box, location_pathbar_radio,
location_filename_radio, location_widget_box, location_label,
location_entry. The radio buttons will switch between the pathbar
and the location entry; the other boxes are for layout purposes.
(enum LocationMode): New enum.
(struct _GtkFileChooserDefault): Added a location_mode field.
* gtk/gtkfilechooserdefault.c (browse_widgets_create): Create the
location radio buttons to switch between the pathbar and the
location entry. Pack the browse_path_bar in the new
location_widget_box instead of a generic hbox.
(location_buttons_create): New function.
(gtk_file_chooser_default_init): Initialize impl->location_mode.
(location_switch_to_path_bar): New function.
(location_switch_to_filename_entry): New function.
* gtk/gtkfilechooserbutton.c (model_add_special): The display_name
should not be const.
Matthias Clasen [Wed, 3 May 2006 20:18:38 +0000 (20:18 +0000)]
Replace the xpm collate icons by cairo drawing that respects themes.
* gtk/gtkprintunixdialog.c: Replace the xpm collate icons
by cairo drawing that respects themes.
Matthias Clasen [Wed, 3 May 2006 17:59:39 +0000 (17:59 +0000)]
Add missing files. (#340533, Ludovic Rousseau)
2006-05-03 Matthias Clasen <mclasen@redhat.com>
* gdk/quartz/Makefile.am (libgdk_quartz_la_SOURCES): Add
missing files. (#340533, Ludovic Rousseau)
Matthias Clasen [Wed, 3 May 2006 17:52:41 +0000 (17:52 +0000)]
Don't leak the cairo context here. (#340522, Christian Persch)
2006-05-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
cairo context here. (#340522, Christian Persch)
Matthias Clasen [Wed, 3 May 2006 17:34:55 +0000 (17:34 +0000)]
Don't use gtk_dialog_run for the error dialog, and improve the dialog in
2006-05-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
use gtk_dialog_run for the error dialog, and improve the
dialog in other ways. (#340510, Christian Persch)
Matthias Clasen [Wed, 3 May 2006 17:09:39 +0000 (17:09 +0000)]
Beautify the custom paper size dialog. (#339590, patch by Christian
2006-05-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpagesetupunixdialog.c: Beautify the custom
paper size dialog. (#339590, patch by Christian Persch)
Matthias Clasen [Wed, 3 May 2006 17:07:09 +0000 (17:07 +0000)]
More G_DEFINE_TYPE conversion.
2006-05-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaccessible.c:
* gtk/gtkclipboard.c:
* gtk/gtkfilefilter.c:
* gtk/gtkimmodule.c:
* gtk/gtkmenubar.c: More G_DEFINE_TYPE conversion.
Matthias Clasen [Wed, 3 May 2006 16:04:07 +0000 (16:04 +0000)]
Make GtkWidget abstract again.
2006-05-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c: Make GtkWidget abstract again.
Ankitkumar Rameshchandra Patel [Wed, 3 May 2006 04:43:30 +0000 (04:43 +0000)]
Updated Gujarati Translations
Ankitkumar Rameshchandra Patel [Wed, 3 May 2006 04:41:45 +0000 (04:41 +0000)]
Updated Translation
Matthias Clasen [Tue, 2 May 2006 23:56:43 +0000 (23:56 +0000)]
Boilerplate reduction
Kristian Rietveld [Tue, 2 May 2006 15:50:58 +0000 (15:50 +0000)]
set tmpnode to the return value of the _gtk_rbtree_insert* functions,
2006-05-02 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_row_inserted): set tmpnode to
the return value of the _gtk_rbtree_insert* functions, since that
is the node we really want to check for visibilty.
Matthias Clasen [Tue, 2 May 2006 13:12:11 +0000 (13:12 +0000)]
broken pipe
Matthias Clasen [Tue, 2 May 2006 13:11:58 +0000 (13:11 +0000)]
Make it work with C++
Christian Persch [Tue, 2 May 2006 12:48:52 +0000 (12:48 +0000)]
Use a priv variable when accessing priv multiple times in the same
2006-05-02 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintcontext.c:
* gtk/gtkprinter.c:
* gtk/gtkprinteroptionwidget.c:
* gtk/gtkprintjob.c:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.c:
* gtk/gtkprintunixdialog.c: Use a priv variable when accessing priv
multiple times in the same function. Bug #340288.
Michael Natterer [Tue, 2 May 2006 12:17:29 +0000 (12:17 +0000)]
added note about the inablity to do height-for-width text layout and
2006-05-02 Michael Natterer <mitch@imendio.com>
* gtk/gtklabel.c (gtk_label_set_line_wrap): added note about the
inablity to do height-for-width text layout and suggest to use
gtk_widget_set_size_request() for getting a label that wraps at
some specific position.
Kristian Rietveld [Tue, 2 May 2006 09:58:08 +0000 (09:58 +0000)]
added ChangeLog entries from the kris-async-branch.
2006-05-02 Kristian Rietveld <kris@imendio.com>
* ChangeLog.gtk-async-file-chooser: added ChangeLog entries from
the kris-async-branch.
* Makefile.am: updated EXTRA_DIST
Ignacio Casal Quinteiro [Tue, 2 May 2006 09:33:16 +0000 (09:33 +0000)]
*** empty log message ***
Alexander Larsson [Tue, 2 May 2006 09:15:34 +0000 (09:15 +0000)]
Add ChangeLog.gtk-printing
2006-05-02 Alexander Larsson <alexl@redhat.com>
* ChangeLog.gtk-printing:
* Makefile.am (EXTRA_DIST):
Add ChangeLog.gtk-printing
Ankitkumar Rameshchandra Patel [Tue, 2 May 2006 03:10:03 +0000 (03:10 +0000)]
Updated Translation
Matthias Clasen [Mon, 1 May 2006 23:12:41 +0000 (23:12 +0000)]
More updates
Kristian Rietveld [Mon, 1 May 2006 22:27:22 +0000 (22:27 +0000)]
Fix previous ChangeLog entry.
Kristian Rietveld [Mon, 1 May 2006 22:26:42 +0000 (22:26 +0000)]
Up ABI version to 2.10.0 (by Matthias' request).
2006-05-02 Kristian Rietveld <kris@imendio.com>
* configure.in: Up ABI version to 2.10.0 (by Matthias' request).
Kristian Rietveld [Mon, 1 May 2006 21:41:12 +0000 (21:41 +0000)]
Merge ... the GTK+ asynchronous file chooser branch. Please see the
2006-05-01 Kristian Rietveld <kris@imendio.com>
Merge of the GTK+ asynchronous file chooser branch. Please see
the kris-asynch-branch for more detailed ChangeLog entries.
* configure.in: increase binary version to 2.9.0.
* gtk.symbols:
* gtkfilechooser.c:
* gtkfilechooserbutton.c:
* gtkfilechooserdefault.c:
* gtkfilechooserdialog.c:
* gtkfilechooserembed.c:
* gtkfilechooserembed.h:
* gtkfilechooserentry.c:
* gtkfilechooserentry.h:
* gtkfilechooserprivate.h:
* gtkfilesystem.c:
* gtkfilesystem.h:
* gtkfilesystemmodel.c:
* gtkfilesystemmodel.h:
* gtkfilesystemunix.c:
* gtkpathbar.c:
* gtkpathbar.h:
Merge from kris-async-branch.
Matthias Clasen [Mon, 1 May 2006 18:35:25 +0000 (18:35 +0000)]
Updates
Matthias Clasen [Mon, 1 May 2006 02:05:20 +0000 (02:05 +0000)]
Document GtkTreeModel signals.
2006-04-30 Matthias Clasen <mclasen@localhost.localdomain>
* gtk/gtktreemodel.c (gtk_tree_model_base_init): Document
GtkTreeModel signals.
Funda Wang [Mon, 1 May 2006 01:41:41 +0000 (01:41 +0000)]
Updated gtk translation.
Michael David Emmel [Sun, 30 Apr 2006 17:19:38 +0000 (17:19 +0000)]
Removed subtracting one from all clips
Kristian Rietveld [Sun, 30 Apr 2006 15:49:25 +0000 (15:49 +0000)]
Fix for #340200, spotted by Torsten Schoenfeld.
2006-04-30 Kristian Rietveld <kris@imendio.com>
Fix for #340200, spotted by Torsten Schoenfeld.
* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): fix up logic
calculating the level indentation,
(gtk_tree_view_start_editing): remove code calculating the
level indentation, since _get_cell_area() takes care of this for us.
Kjartan Maraas [Sun, 30 Apr 2006 12:24:27 +0000 (12:24 +0000)]
Add a whole bunch of missing files. Updated Norwegian bokmål translation.
2006-04-30 Kjartan Maraas <kmaraas@gnome.org>
* POTFILES.in: Add a whole bunch of missing files.
* nb.po: Updated Norwegian bokmål translation.
Matthias Clasen [Sun, 30 Apr 2006 06:10:37 +0000 (06:10 +0000)]
Fix problems with setting symbolic colors from rc files. (#338345,
2006-04-30 Matthias Clasen <mclasen@localhost.localdomain>
Fix problems with setting symbolic colors from rc files.
(#338345, Benjamin Berg)
* gtk/gtkrc.c (gtk_rc_settings_changed, gtk_rc_font_name_changed)
(gtk_rc_color_hash_changed, gtk_rc_reparse_all_for_settings): Don't
freeze notification for settings changes while parsing; instead
manually avoid recursion, and update the color hashes.
Matthias Clasen [Sun, 30 Apr 2006 05:31:14 +0000 (05:31 +0000)]
Improve the print dialog layout, mark some more strings for translation.
2006-04-30 Matthias Clasen <mclasen@localhost.localdomain>
* gtk/gtkprinteroption.c:
* gtk/gtkprinteroptionwidget.c:
* gtk/gtkprintunixdialog.c: Improve the print dialog layout,
mark some more strings for translation. (#340139, Christian Persch)
Matthias Clasen [Sun, 30 Apr 2006 05:08:06 +0000 (05:08 +0000)]
fix the build
Matthias Clasen [Sun, 30 Apr 2006 04:53:40 +0000 (04:53 +0000)]
Fix the definition of the ::size-changed signal, and improve its
2006-04-30 Matthias Clasen <mclasen@localhost.localdomain>
* gtk/gtkstatusicon.c (gtk_status_icon_class_init): Fix the definition
of the ::size-changed signal, and improve its documentation.
(#340112, Christian Persch)
Priit Laes [Sat, 29 Apr 2006 09:33:48 +0000 (09:33 +0000)]
Translation updated.
2006-04-29 Priit Laes <amd@store20.com>
* et.po: Translation updated.
Behdad Esfahbod [Sat, 29 Apr 2006 06:57:29 +0000 (06:57 +0000)]
Change colormap to font map in docs. (#340093)
2006-04-29 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkwidget.c (gtk_widget_create_pango_layout)
(gtk_widget_get/create_pango_context): Change colormap to font map in
docs. (#340093)
Matthias Clasen [Sat, 29 Apr 2006 06:34:14 +0000 (06:34 +0000)]
Add a menu position function for use with popups on status icons.
2006-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkstatusicon.h:
* gtk/gtkstatusicon.c (gtk_status_icon_position_menu): Add a menu
position function for use with popups on status icons. (#334573,
Christian Persch)
Behdad Esfahbod [Sat, 29 Apr 2006 04:57:30 +0000 (04:57 +0000)]
.
Matthias Clasen [Sat, 29 Apr 2006 04:36:28 +0000 (04:36 +0000)]
Fix a C99ism. (#340055, Kazuki Iwamoto)
2006-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism. (#340055,
Kazuki Iwamoto)
Matthias Clasen [Sat, 29 Apr 2006 03:53:25 +0000 (03:53 +0000)]
Use _static variants when copying and merging short-lived Pango layouts.
2006-04-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (get_size): Use _static variants when
copying and merging short-lived Pango layouts. (#340033, Morten Welinder)